package com.arsn.myf.resource.mapper;


import com.arsn.myf.resource.entity.Attach;
import com.arsn.myf.resource.vo.AttachVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 附件mapper 映射层
 * @author zhongrj
 * @time 2021-12-07
 */
@Mapper
public interface AttachMapper extends BaseMapper<Attach> {
    
    /**
     * 自定义附件分页数据
     * @param page
     * @param attach
     * @return
     */
    IPage<AttachVO> selectPageAttachList(@Param("page") Page<AttachVO> page, @Param("attach") AttachVO attach);
}
